/*
 * @Description: 配置文件 
 */
module.exports = {
  pwa: {
    iconPaths: {
      favicon32: 'favicon.ico',
      favicon16: 'favicon.ico',
      appleTouchIcon: 'favicon.ico',
      maskIcon: 'favicon.ico',
      msTileImage: 'favicon.ico'
    }
  },
  publicPath: './',
  devServer: {
    open: true,
    proxy: {
	  '^/api/test': {
        // target: 'https://mock.apifox.cn/m1/1553454-0-default',
	    target:'http://localhost:9999',
          // target:'http://43.139.37.35:9999',
	    ws: true,
	    changeOrigin: true,
		pathRewrite:{
			'^/api/test':''
		}
	  },
      '^/api/v1': {
        // target: 'https://mock.apifox.cn/m1/1553454-0-default',
        target: '#',
        ws: true,
        changeOrigin: true
      },
    }
  }
}

